@import '../../../index.scss';

.container {
  height: 100%;

  .scroll-view-content {
    box-sizing: border-box;
    height: 100%;
    .box {
      padding: 20rpx 0;
      .item {

        padding: 30rpx 20rpx;
        border-bottom: 1px solid #eee;

        &:first-child {
          padding-top: 0;
        }

        &:last-child {
          border: none;
        }

        .info {
          display: flex;
          justify-content: space-between;
          align-items: center;

          .left {
            display: flex;

            .avater {
              width: 80rpx;
              height: 80rpx;
              border-radius: 100%;
              overflow: hidden;
              margin-right: 20rpx;

              image {
                width: 100%;
                height: 100%;
              }
            }

            .user {
              display: flex;
              flex-direction: column;
              justify-content: space-around;

              .name {
                display: flex;
                align-items: center;
                font-size: 28rpx;
                font-weight: bold;

                .lv {
                  height: 30rpx;
                  margin-left: 10rpx;
                }
              }

              .time {
                font-size: 20rpx;
                color: #999;
              }
            }
          }

          .right {
            .more {
              height: 36rpx;
              opacity: .2;
            }
          }
        }

        .imageText {
          .topic {
            display: flex;
            flex-wrap: wrap;
            padding-top: 20rpx;
            margin-bottom: -10rpx;

            .tip {
              font-size: 24rpx;
              margin-right: 14rpx;
              padding: 14rpx 16rpx;
              background-color: #ececec;
              border-radius: 10rpx;
              display: flex;
              color: #555;
              align-items: center;
              line-height: 0;
              margin-bottom: 10rpx;

              .icon {
                height: 20rpx;
                margin-right: 6rpx;
              }
            }
          }

          .content {
            padding: 20rpx 0;
            padding-bottom: 0;

            .desc {
              font-size: 28rpx;
              color: #000;
            }

            .photoAlbum {
              display: flex;
              flex-wrap: wrap;
              justify-content: space-between;
              margin-top: 20rpx;

              .photo {
                flex-basis: calc(33.33% - 10rpx);
                height: 0;
                width: 0;
                padding-bottom: calc(33.33% - 10rpx);
                position: relative;
                background-color: #fff;
                margin-bottom: 15rpx;
                border-radius: 14rpx;
                overflow: hidden;

                image {
                  position: absolute;
                  width: 100%;
                  height: 100%;
                  top: 0;
                  left: 0;
                }
              }
            }
          }
        }

        .video {
          .player {
            margin: 20rpx 0;
            box-sizing: border-box;
            height: 400rpx;
            background-color: #eee;
            border-radius: 14rpx;
            overflow: hidden;

            video {
              width: 100%;
              height: 100%;
            }
          }

          .desc {
            font-size: 28rpx;
            color: #000;
            margin-bottom: 10rpx;
          }
        }

        .problemAnswer {
          .problem {
            margin-top: 20rpx;
            padding: 20rpx;
            box-sizing: border-box;
            background-color: #eee;
            border-radius: 14rpx;
            background-color: #ffe3e3;

            .tit {
              font-size: 20rpx;
              padding: 6rpx 16rpx;
              background-color: #ff8787;
              font-weight: bold;
              color: #fff;
              display: inline-block;
              border-radius: 10rpx;
              margin-bottom: 10rpx;
            }

            .desc {
              font-size: 28rpx;
              color: #444;
            }
          }

          .answer {
            margin-top: 20rpx;
            margin-bottom: 20rpx;
            padding: 20rpx;
            box-sizing: border-box;
            background-color: rgba($color: $primary-color, $alpha: 0.2);
            border-radius: 14rpx;

            .tit {
              font-size: 20rpx;
              padding: 6rpx 16rpx;
              background-color: #20c997;
              font-weight: bold;
              color: #fff;
              display: inline-block;
              border-radius: 10rpx;
              margin-bottom: 10rpx;
            }

            .desc {
              font-size: 28rpx;
              color: #444;
            }
          }
        }


        .botton {
          display: flex;
          justify-content: space-between;

          .address {
            display: flex;
            background-color: #eee;
            padding: 10rpx 10rpx;
            align-items: center;
            border-radius: 8rpx;

            .icon {
              width: 22rpx;
              height: 22rpx;
              margin-right: 6rpx;
            }

            .name {
              line-height: 0;
              font-size: 20rpx;
            }
          }

          .right {
            flex: 1;
            display: flex;
            justify-content: flex-end;

            .clas {
              display: flex;
              align-items: center;
              margin-left: 30rpx;

              .icon {
                width: 32rpx;
                height: 32rpx;
                opacity: .7;
              }

              .num {
                color: #777;
                margin-left: 10rpx;
                font-size: 24rpx;
              }
            }
          }
        }
      }
    }
  }
}